package com.mew.chess.core.game.pokdeng.game.message;

import com.mew.chess.core.game.bjl.game.message.BetRecordMessage;
import com.zebra.common.ZebraBaseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.ToString;

import java.util.HashMap;
import java.util.Map;

/**
 * @author dylin
 * @create 2021/4/25
 */
@Data
@ToString
public class PushBetMessage extends ZebraBaseMessage<PushBetMessage> {
    private String gid;//gid
    private int seatNo;//座位号
    private long bet;//压注

    @Override
    public void write(ByteBuf b) {

        writeString(b,gid);
        writeInt(b,seatNo);
        writeLong(b,bet);
    }

    @Override
    public PushBetMessage read(ByteBuf b) {
        return null;
    }
}
